package com.yizn.learn.Condition.util;

import java.util.concurrent.TimeUnit;

/**
 * 线程睡眠工具类
 *
 * @author yisl
 * @create 2019-08-07 16:45
 */
public class SecondUtil {
    public static void second(long args) {
        try {
            TimeUnit.SECONDS.sleep(args);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

    }
}
